<!-- 右 -->
<div class="content">
    <div class="header">
        <h1 class="page-title">商品类型列表</h1>
    </div>

    <div class="well">
        <a class="btn btn-primary" href="{:url('admin/Type/add')}">新增</a>
        <span>今日登录用户： {$count}</span>

        <!-- table -->
        <table class="table table-bordered table-hover table-condensed">
            <thead>
            <tr>
                <th>用户id</th>
                <th>用户名</th>
                <th>手机号</th>
            </tr>
            </thead>
            <tbody>
                {foreach $data as $v}
                    <tr class="success">
                        <td>{$v.id}</td>
                        <td>{$v.username}</td>
                        <td>{$v.phone}</td>
                    </tr>
                {/foreach}
            </tbody>
        </table>
    </div>
</div>